<template>
  <el-config-provider :locale="appStore.locale">
    <router-view/>
  </el-config-provider>
</template>
<script setup lang="ts">
import {onMounted, reactive} from "vue";
import {ElConfigProvider} from 'element-plus';
import useAppStore from '@/store/useAppStore';

const appStore = useAppStore();
const dt = reactive({
  a: 1,
  b: 2
})

onMounted(() => {
  console.log('OneCodeAdmin init, debugger test:', dt.a)
})
</script>
